package com.usdt.system.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.usdt.common.core.domain.entity.UsdtTransfer;
import com.usdt.system.domain.req.UsdtTransferReqVo;
import com.usdt.system.mapper.UsdtTransferMapper;
import com.usdt.system.service.IUsdtTransferService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author LG
 * @since 2024-09-18
 */
@Service("usdtTransfer3ServiceImpl")
@DS("slave_3")
public class UsdtTransfer3ServiceImpl extends ServiceImpl<UsdtTransferMapper, UsdtTransfer> implements IUsdtTransferService {

	@Override
	public IPage<UsdtTransfer> listPage(UsdtTransferReqVo vo) {
		valid(vo);
		return baseMapper.listPage(new Page<>(vo.getPageNum(), vo.getPageSize()), vo);
	}

}
